package com.message;

public class TransformationMessages {
	/**
     * 传递的数据（参数）
     */
    public static class WorldPacket extends BasePacket {
		private static final long serialVersionUID = 1L;
    	public WorldPacket(short cmd,byte[] bytes) {
			super(cmd,bytes);
		}

    }

    
    /**
     * 传递的数据（参数）
     */
    public static class GameServerPacket extends BasePacket {
    	private static final long serialVersionUID = 1L;
    	private final int gameServerId;
    	public GameServerPacket(short cmd,byte[] bytes,int gameServerId) {
			super(cmd,bytes);
			this.gameServerId = gameServerId;
		}
		public int getGameServerId() {
			return gameServerId;
		}

    }


    /**
     * 用于服务端向客户端注册
     */
    public static final int BACKEND_REGISTRATION = 1;
}
